package com.qlm.config;

import com.alibaba.fastjson.JSONObject;
import com.jfinal.core.Controller;

public class MainController extends Controller{
	public void join(){
		String name = getPara("name");
		String num = getPara("num");
		JSONObject obj = new JSONObject();
		if("1".equals(num)){
			obj.put("status", true);
		}else{
			obj.put("status", false);
		}
		renderJson(obj.toString());
	}
}
